package com.tour.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tour.entity.Comment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Map;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lel
 * @since 2020-12-30
 */
@Mapper
@Repository
public interface CommentMapper extends BaseMapper<Comment> {

    Page<Map> findAllComment(IPage<Map> page, @Param("scenicId") Integer scenicId);

}
